﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/MasterPage/AdminSubMasterPage.master" AutoEventWireup="true" CodeFile="SAPFin002P.aspx.cs" Inherits="Admin_SAPFin_SAPFin002P" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <style type="text/css">
        .labelTable {
            border: 2px solid black;
            width: 96mm;
        }
        @media print {
            .noprint {
                display: none;
            }
        }
    </style>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div style="margin: 2mm;">
        <div class="noprint">
            <table style="margin: 0 auto; width: 500px;">
                <tr align="center">
                    <td>
                        <input type="button" style="width:40mm;" value="打印" onclick="window.top.Print()">
                        <a target="_blank" style="padding-left: 10mm;" href="/ext_file/print_help.docx">打印帮助</a>
                    </td>
                </tr>
            </table>
        </div>

        <asp:Repeater ID="rptLabel" runat="server">
            <HeaderTemplate>
                <table>
                    <tr>
            </HeaderTemplate>

            <ItemTemplate>
                <td>
                    <table class="labelTable" cellpadding="0" cellspacing="0">
                        <tr>
                            <td style="height: 20mm; background-color: #BFBFBF;" align="center">
                                <img src="../../App_Themes/Images/p_logo.png" width="240" />
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 20mm; font: bold 24pt Arial; border-top: 1px solid black; border-bottom: 1px solid black; background-color: #BFBFBF;" align="center">财务共享中心
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 60mm" align="center" valign="top">
                                <div style="margin-top: 6mm">
                                    <img src="/GetBarcode.aspx?boxno=<%# Eval("BoxNo") %>" />
                                </div>
                                <div style="font: bold 22pt Arial;"><%# Eval("BoxNo") %></div>
                                <div style="font: bold 34pt Arial; margin-top: 2mm;">
                                    <%# Eval("CompanyName") %>
                                </div>

                            </td>
                        </tr>
                        <tr>
                            <td style="height: 20mm; font: bold 24pt Arial; border-top: 1px solid black; border-bottom: 1px solid black; background-color: #BFBFBF;" align="center">案卷题名
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 170mm" align="center" valign="top">
                                <div style="font: bold 44pt Arial; margin-top: 20mm;">
                                   <%# Business.getCodeTableValue(Eval(FinBoxMetadata.ColumnNames.FunctionDept).ToString()) %>
                                </div>
                                <div style="font: bold 36pt Arial; margin-top: 8mm; margin-left: 3mm; margin-right: 3mm;">
                                    <%# Business.getCodeTableValue(Eval(FinBoxMetadata.ColumnNames.DocumentType).ToString()) %>
                                </div>

                                <div style="font: normal 36pt Arial; margin-top: 8mm;">
                                    <%# Business.getReceiptIndexRange(Eval(FinBoxMetadata.ColumnNames.BoxID)) %>
                                </div>

                                <div style="font: bold 44pt Arial; margin-top: 8mm;">
                                    <%# Business.getReceiptIndexRange(Eval(FinBoxMetadata.ColumnNames.BoxMonth),Eval(FinBoxMetadata.ColumnNames.BoxMonthEnd)) %>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td style="height: 20mm; font: bold 34pt Tahoma; border-top: 1px solid black; background-color: #BFBFBF;" align="center">
                                <%# Eval(FinBoxMetadata.ColumnNames.BoxYear) %>
                            </td>
                        </tr>
                    </table>
                </td>
                <td style="width:8mm;">
                    &nbsp;
                </td>

            </ItemTemplate>
            <FooterTemplate></tr></table></FooterTemplate>
        </asp:Repeater>




    </div>
</asp:Content>

